﻿<!doctype html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>进销存管理</title>

    <!-- begin::global styles -->
    <link rel="stylesheet" href="assets/vendors/bundle.css" type="text/css">
    <!-- end::global styles -->

    <!-- begin::datepicker -->
    <link rel="stylesheet" href="assets/vendors/datepicker/daterangepicker.css">
    <!-- begin::datepicker -->

    <!-- begin::vmap -->
    <link rel="stylesheet" href="assets/vendors/vmap/jqvmap.min.css">
    <!-- begin::vmap -->

    <!-- begin::custom styles -->
    <link rel="stylesheet" href="assets/css/app.css" type="text/css">
    <link rel="stylesheet" href="assets/css/custom.css" type="text/css">
    <!-- end::custom styles -->
    <script src="js/echarts.min.js"></script>
    <script src="js/china.js"></script>

</head>

<body class="icon-side-menu">


<div class="side-menu">
    <div class='side-menu-body'>
        <a href="#"><i class="icon ti-home"></i></a>
    </div>
</div>

<!-- begin::page loader-->
<div class="page-loader">
    <div class="spinner-border"></div>
    <span>Loading ...</span>
</div>
<!-- end::page loader -->

<!-- begin::sidebar -->
<div class="sidebar" style="z-index: 99999;">
    <ul class="nav nav-pills nav-justified m-b-30" id="pills-tab" role="tablist">
        <li class="nav-item">
            <a class="nav-link" id="notifications-tab" data-toggle="pill" href="#notifications" role="tab"
               aria-controls="notifications" aria-selected="false">
                <i class="fa fa-bell"></i>
            </a>
        </li>
        <li class="nav-item">
            <a class="nav-link" id="settings-tab" data-toggle="pill" href="#settings" role="tab"
               aria-controls="settings" aria-selected="false">
                <i class="ti-settings"></i>
            </a>
        </li>
    </ul>
    <div class="tab-content" id="pills-tabContent">
        <div class="tab-pane" id="notifications" role="tabpanel" aria-labelledby="notifications-tab">
            <div class="tab-pane-body">
                <h5 class="font-weight-bold m-b-20">通知</h5>
                <div>
                    <p class="text-muted">今天</p>
                    <ul class="list-group list-group-flush m-b-10">
                        <li class="list-group-item d-flex p-l-r-0">
                            <div>
                                <figure class="avatar avatar-xs m-r-10">
                                    <span class="avatar-title bg-success rounded-circle">1</span>
                                </figure>
                            </div>
                            <div>
                                <p class="m-b-0">
                                    <span class="badge small badge-danger">New</span>
                                    拜登赢得了选举
                                </p>
                                <ul class="list-inline small">
                                    <li class="list-inline-item text-muted">8分钟以前</li>
                                    <li class="list-inline-item">
                                        <a href="#">标记已读</a>
                                    </li>
                                    <li class="list-inline-item">
                                        <a href="#">查看</a>
                                    </li>
                                </ul>
                            </div>
                        </li>
                        <li class="list-group-item d-flex p-l-r-0">
                            <div>
                                <figure class="avatar avatar-xs m-r-10">
                                        <span class="avatar-title bg-warning rounded-circle">
                                            2
                                        </span>
                                </figure>
                            </div>
                            <div>
                                <p class="m-b-0">彩票中了十块钱</p>
                                <ul class="list-inline small">
                                    <li class="list-inline-item text-muted">50分钟以前</li>
                                    <li class="list-inline-item">
                                        <a href="#">标记已读</a>
                                    </li>
                                    <li class="list-inline-item">
                                        <a href="#">查看</a>
                                    </li>
                                </ul>
                            </div>
                        </li>
                    </ul>
                </div>
                <div>
                    <p class="text-muted">昨天</p>
                    <ul class="list-group list-group-flush m-b-10">
                        <li class="list-group-item d-flex p-l-r-0">
                            <div>
                                <figure class="avatar avatar-xs m-r-10">
                                        <span class="avatar-title bg-warning rounded-circle">
                                            2
                                        </span>
                                </figure>
                            </div>
                            <div>
                                <p class="m-b-0">彩票中了十块钱</p>
                                <ul class="list-inline small">
                                    <li class="list-inline-item text-muted">50分钟以前</li>
                                    <li class="list-inline-item">
                                        <a href="#">标记已读</a>
                                    </li>
                                    <li class="list-inline-item">
                                        <a href="#">查看</a>
                                    </li>
                                </ul>
                            </div>
                        </li>
                        <li class="list-group-item d-flex p-l-r-0">
                            <div>
                                <figure class="avatar avatar-xs m-r-10">
                                        <span class="avatar-title bg-warning rounded-circle">
                                            2
                                        </span>
                                </figure>
                            </div>
                            <div>
                                <p class="m-b-0">彩票中了十块钱</p>
                                <ul class="list-inline small">
                                    <li class="list-inline-item text-muted">50分钟以前</li>
                                    <li class="list-inline-item">
                                        <a href="#">标记已读</a>
                                    </li>
                                    <li class="list-inline-item">
                                        <a href="#">查看</a>
                                    </li>
                                </ul>
                            </div>
                        </li>
                        <li class="list-group-item d-flex p-l-r-0">
                            <div>
                                <figure class="avatar avatar-xs m-r-10">
                                        <span class="avatar-title bg-warning rounded-circle">
                                            2
                                        </span>
                                </figure>
                            </div>
                            <div>
                                <p class="m-b-0">彩票中了十块钱</p>
                                <ul class="list-inline small">
                                    <li class="list-inline-item text-muted">50分钟以前</li>
                                    <li class="list-inline-item">
                                        <a href="#">标记已读</a>
                                    </li>
                                    <li class="list-inline-item">
                                        <a href="#">查看</a>
                                    </li>
                                </ul>
                            </div>
                        </li>
                        <li class="list-group-item d-flex p-l-r-0">
                            <div>
                                <figure class="avatar avatar-xs m-r-10">
                                        <span class="avatar-title bg-warning rounded-circle">
                                            2
                                        </span>
                                </figure>
                            </div>
                            <div>
                                <p class="m-b-0">彩票中了十块钱</p>
                                <ul class="list-inline small">
                                    <li class="list-inline-item text-muted">50分钟以前</li>
                                    <li class="list-inline-item">
                                        <a href="#">标记已读</a>
                                    </li>
                                    <li class="list-inline-item">
                                        <a href="#">查看</a>
                                    </li>
                                </ul>
                            </div>
                        </li>
                    </ul>
                </div>
            </div>
            <div class="tab-pane-footer">
                <a href="#" class="btn btn-primary btn-block">标记全部已读</a>
            </div>
        </div>
        <div class="tab-pane" id="settings" role="tabpanel" aria-labelledby="settings-tab">
            <div class="tab-pane-body">
                <div class="m-b-30">
                    <h5 class="font-weight-bold m-b-20">设置</h5>
                    <h6 class="font-weight-bold">系统</h6>
                    <ul class="list-group list-group-flush">
                        <li class="list-group-item d-flex justify-content-between p-l-r-0">
                            <span>自动更新</span>
                            <div class="custom-control custom-switch">
                                <input type="checkbox" class="custom-control-input" id="customSwitch1" checked>
                                <label class="custom-control-label" for="customSwitch1"></label>
                            </div>
                        </li>
                        <li class="list-group-item d-flex justify-content-between p-l-r-0">
                            <span>当前统计</span>
                            <div class="custom-control custom-switch">
                                <input type="checkbox" class="custom-control-input" id="customSwitch2" checked>
                                <label class="custom-control-label" for="customSwitch2"></label>
                            </div>
                        </li>
                        <li class="list-group-item d-flex justify-content-between p-l-r-0">
                            <span>用户建议</span>
                            <div class="custom-control custom-switch">
                                <input type="checkbox" class="custom-control-input" id="customSwitch3" checked>
                                <label class="custom-control-label" for="customSwitch3"></label>
                            </div>
                        </li>
                    </ul>
                </div>
                <div class="m-b-30">
                    <h6 class="font-weight-bold">账户</h6>
                    <ul class="list-group list-group-flush">
                        <li class="list-group-item d-flex justify-content-between p-l-r-0">
                            <span>账户安全保护</span>
                            <div class="custom-control custom-switch">
                                <input type="checkbox" class="custom-control-input" id="customSwitch4">
                                <label class="custom-control-label" for="customSwitch4"></label>
                            </div>
                        </li>

                    </ul>
                </div>
                <div class="m-b-30">
                    <h6 class="font-weight-bold">通知</h6>
                    <ul class="list-group list-group-flush">
                        <li class="list-group-item d-flex justify-content-between p-l-r-0">
                            <span>邮箱通知</span>
                            <div class="custom-control custom-switch">
                                <input type="checkbox" class="custom-control-input" id="customSwitch6">
                                <label class="custom-control-label" for="customSwitch6"></label>
                            </div>
                        </li>
                        <li class="list-group-item d-flex justify-content-between p-l-r-0">
                            <span>短信通知</span>
                            <div class="custom-control custom-switch">
                                <input type="checkbox" class="custom-control-input" id="customSwitch7">
                                <label class="custom-control-label" for="customSwitch7"></label>
                            </div>
                        </li>
                        <li class="list-group-item d-flex justify-content-between p-l-r-0">
                            <span>电话通知</span>
                            <div class="custom-control custom-switch">
                                <input type="checkbox" class="custom-control-input" id="customSwitch8">
                                <label class="custom-control-label" for="customSwitch8"></label>
                            </div>
                        </li>
                    </ul>
                </div>
            </div>
            <div class="tab-pane-footer">
                <a href="#" class="btn btn-primary btn-block">保存设置</a>
            </div>
        </div>
    </div>
</div>
<!-- end::sidebar -->

<!-- begin::side menu -->
<div class="side-menu">
    <div class='side-menu-body'>
        <ul>
            <li class="side-menu-divider">进销存管理</li>

            <li class="open"><a href="#"><i class="fa fa-file"></i>&ensp;&ensp; <span>销售</span></a>
                <ul>
                    <li><a href="index.html">报表统计</a>
                    <li><a href="#" class="active">进货报表</a></li>
                    <li><a href="ShippingForm.html">订单报表</a></li>
                    <li><a href="OrderList.html">订单列表</a></li>
                    <li><a href="OrderAdd.html">订单修改/增加</a></li>
                </ul>
            </li>

            <li><a href="#"><i class="fa fa-info-circle"></i>&ensp;&ensp; <span>认证方式</span></a>
                <ul>
                    <li><a href="login.html">登录&注册</a>
                    <li><a href="lock-user.html">锁屏</a></li>
                    <li><a href="recover-password.html">恢复密码</a></li>
                </ul>
            </li>

            <li><a href="#"><i class="fa fa-user-o"></i> &ensp;&ensp;<span>个人管理</span></a>
                <ul>
                    <li><a href="EditProfile.html">个人信息</a>
                    <li><a href="journal.html">日志</a></li>
                </ul>
            </li>

            <li><a href="#"> <i class="fa fa-truck"></i>&ensp;&ensp; <span>货物管理</span></a>
                <ul>
                    <li><a href="GoodsList.html">商品管理</a>
                    <li><a href="GoodAdd.html">商品增加&修改</a></li>
                </ul>
            </li>

            <li><a href="#"><i class="fa fa-users"></i>&ensp;&ensp;<span>人员管理</span></a>
                <ul>
                    <li><a href="UserList.html">人员查询</a>
                    <li><a href="UserAdd.html">增加&修改</a></li>
                </ul>
            </li>
        </ul>
    </div>
</div>
<!-- end::side menu -->

<!-- begin::navbar -->
<nav class="navbar">
    <div class="container-fluid">

        <div class="header-logo">
            <a href="#">
                <img src="assets/media/image/light-logo.png" alt="...">
                <span class="logo-text d-none d-lg-block">进销存系统</span>
            </a>
        </div>

        <div class="header-body">


            <ul class="navbar-nav" style="margin-left: 90%;">
                <li class="nav-item">
                    <!-- 此处在class里面加上nav-link-notify会出现红点 -->
                    <a href="#" class="nav-link  sidebar-open" data-sidebar-target="#notifications">
                        <i class="fa fa-bell"></i>
                    </a>
                </li>
                <li class="nav-item dropdown">
                    <a href="#" data-toggle="dropdown">
                        <figure class="avatar avatar-sm avatar-state-success">
                            <img class="rounded-circle" src="assets/media/image/avatar.jpg" alt="...">
                        </figure>
                    </a>
                    <div class="dropdown-menu dropdown-menu-right">
                        <a href="profile.html" class="dropdown-item">个人主页</a>
                        <a href="#" data-sidebar-target="#settings" class="sidebar-open dropdown-item">设置</a>
                        <div class="dropdown-divider"></div>
                        <a href="login.html" class="text-danger dropdown-item">登出</a>
                    </div>
                </li>
                <li class="nav-item d-lg-none d-sm-block">
                    <a href="#" class="nav-link side-menu-open">
                        <i class="ti-menu"></i>
                    </a>
                </li>
            </ul>
        </div>

    </div>
</nav>


<main class="main-content">
    <div class="container">
        <div class="page-header d-md-flex justify-content-between align-items-center">
            <h4>进货表单</h4>
            <nav aria-label="breadcrumb">
            </nav>
        </div>
        <div class="container">
            <div class="row">
                <div class="card-body" id="chinamap"
                     style="height: 600px;background-color: rgb(255, 255, 255);margin-bottom: 20px"></div>
                <script type="text/javascript">
                    // 全国省份列表
                    var dataMap = [{name: '北京'}, {name: '天津'}, {name: '上海'}, {name: '重庆'}, {name: '河北'}, {name: '河南'}, {name: '云南'}, {name: '辽宁'}, {name: '黑龙江'}, {name: '湖南'}, {name: '安徽'}, {name: '山东'},
                        {name: '新疆'}, {name: '江苏'}, {name: '浙江'}, {name: '江西'}, {name: '湖北'}, {name: '广西'}, {name: '甘肃'}, {name: '山西'}, {name: '内蒙古'}, {name: '陕西'}, {name: '吉林'}, {name: '福建'}, {name: '贵州'},
                        {name: '广东'}, {name: '青海'}, {name: '西藏'}, {name: '四川'}, {name: '宁夏'}, {name: '海南'}, {name: '台湾'}, {name: '香港'}, {name: '澳门'}]
                    // 需要在页面上直接标记出来的城市
                    var specialMap = ['浙江', '云南', '陕西'];
                    // 对dataMap进行处理，使其可以直接在页面上展示
                    for (var i = 0; i < specialMap.length; i++) {
                        for (var j = 0; j < dataMap.length; j++) {
                            if (specialMap[i] == dataMap[j].name) {
                                dataMap[j].selected = true;
                                break;
                            }

                        }
                    }
                    // 绘制图表，准备数据
                    var option = {

                        series: [
                            {
                                name: '中国',
                                type: 'map',
                                mapType: 'china',
                                selectedMode: 'multiple',
                                label: {
                                    normal: {
                                        show: true,//显示省份标签
                                        // textStyle:{color:"#c71585"}//省份标签字体颜色
                                    },
                                    emphasis: {
                                        show: true,//对应的鼠标悬浮效果
                                        // textStyle:{color:"#800080"}
                                    }
                                },
                                itemStyle: {
                                    normal: {
                                        borderWidth: .5,//区域边框宽度
                                        // borderColor: '#009fe8',//区域边框颜色
                                        // areaColor:"#ffefd5",//区域颜色
                                    },
                                    emphasis: {
                                        borderWidth: .5,
                                        borderColor: '#4b0082',
                                        areaColor: "#ffdead",
                                    }
                                },
                                data: dataMap
                            }
                        ]
                    };
                    //初始化echarts实例
                    var myChart = echarts.init(document.getElementById('chinamap'));
                    //使用制定的配置项和数据显示图表
                    myChart.setOption(option);
                    myChart.on('click', function (params) {
                        console.log(params.name)
                    })
                </script>
            </div>
            <div class="row">
                <div class="card-body" style="background-color: rgb(255, 255, 255);">
                    <canvas id="chartjs_eight"></canvas>
                </div>
            </div>
            <div class="row">

                <div class="card-body" style="background-color: rgb(255, 255, 255);margin-top: 20px">
                    <div class="d-md-flex justify-content-between">
                        <h5 class="card-title">您最近的收入</h5>
                        <div>
                            <div class="reportrange btn btn-light">
                                <i class="ti-calendar m-r-10"></i>
                                <span></span>
                                <i class="ti-angle-down m-l-10"></i>
                            </div>
                            <div class="d-lg-none d-sm-block m-t-15"></div>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-md-8">
                            <div class="row">
                                <div class="col-md-4">
                                    <div class="d-flex align-items-center m-b-20">
                                        <div class="icon-block m-r-15 icon-block-lg icon-block-outline-success text-success">
                                            <i class="fa fa-bar-chart"></i>
                                        </div>
                                        <div>
                                            <h6>总收入</h6>
                                            <h4 class="m-b-0 font-weight-bold">$201,958,104</h4>
                                        </div>
                                    </div>
                                </div>
                                <div class="col-md-4">
                                    <div class="d-flex align-items-center m-b-20">
                                        <div class="icon-block m-r-15 icon-block-lg icon-block-outline-danger  text-danger">
                                            <i class="fa fa-hand-lizard-o"></i>
                                        </div>
                                        <div>
                                            <h6>预扣税款</h6>
                                            <h4 class="m-b-0 font-weight-bold">$12,769.00</h4>
                                        </div>
                                    </div>
                                </div>
                                <div class="col-md-4">
                                    <div class="d-flex align-items-center m-b-20">
                                        <div
                                                class="icon-block m-r-15 icon-block-lg icon-block-outline-warning text-warning">
                                            <i class="fa fa-dollar"></i>
                                        </div>
                                        <div>
                                            <h6>净收益</h6>
                                            <h4 class="m-b-0 font-weight-bold">$491,608,469</h4>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="table-responsive">
                        <table class="table m-b-0">
                            <thead>
                            <tr>
                                <th>日期</th>
                                <th>销售数量</th>
                                <th>总收入</th>
                                <th>预扣税款</th>
                                <th>销售率</th>
                                <th class="text-right">净收益</th>
                            </tr>
                            </thead>
                            <tbody>
                            <tr>
                                <td>03/15/2018</td>
                                <td>1,050</td>
                                <td>+ $32,580.00</td>
                                <td>- $3,023.10</td>
                                <td>
                                                <span class="pie"
                                                      data-peity='{ "fill": ["#5d78ff", "#eeeeee"], "radius": 15 }'>70/100</span>
                                </td>
                                <td class="text-right">$28,670.90</td>
                            </tr>
                            <tr>
                                <td>03/14/2018</td>
                                <td>780</td>
                                <td>+ $30,065.10</td>
                                <td>- $2,780.00</td>
                                <td>
                                                <span class="pie"
                                                      data-peity='{ "fill": ["#5d78ff", "#eeeeee"], "radius": 15 }'>40/100</span>
                                </td>
                                <td class="text-right">$26,930.40</td>
                            </tr>
                            <tr>
                                <td>03/13/2018</td>
                                <td>1.980</td>
                                <td>+ $30,065.10</td>
                                <td>- $2,780.00</td>
                                <td>
                                                <span class="pie"
                                                      data-peity='{ "fill": ["#5d78ff", "#eeeeee"], "radius": 15 }'>60/100</span>
                                </td>
                                <td class="text-right">$22,930.40</td>
                            </tr>
                            <tr>
                                <td>03/12/2018</td>
                                <td>300</td>
                                <td>+ $30,065.10</td>
                                <td>- $2,780.00</td>
                                <td>
                                                <span class="pie"
                                                      data-peity='{ "fill": ["#5d78ff", "#eeeeee"], "radius": 15 }'>18/100</span>
                                </td>
                                <td class="text-right">$32,130.40</td>
                            </tr>
                            <tr>
                                <td>03/11/2018</td>
                                <td>940</td>
                                <td>+ $30,065.10</td>
                                <td>- $2,780.00</td>
                                <td>
                                                <span class="pie"
                                                      data-peity='{ "fill": ["#5d78ff", "#eeeeee"], "radius": 15 }'>25/100</span>
                                </td>
                                <td class="text-right">$19,230.40</td>
                            </tr>
                            <tr>
                                <td>03/10/2018</td>
                                <td>1.280</td>
                                <td>+ $30,065.10</td>
                                <td>- $2,780.00</td>
                                <td>
                                                <span class="pie"
                                                      data-peity='{ "fill": ["#5d78ff", "#eeeeee"], "radius": 15 }'>78/100</span>
                                </td>
                                <td class="text-right">$17,830.40</td>
                            </tr>
                            </tbody>
                        </table>
                    </div>
                </div>
            </div>
        </div>
    </div>

</main>


<!-- end::navbar -->



<!-- begin::global scripts -->
<script src="assets/vendors/bundle.js"></script>
<!-- end::global scripts -->

<!-- begin::charts -->
<script src="assets/vendors/charts/chartjs/chart.min.js"></script>
<script src="assets/vendors/charts/peity/jquery.peity.min.js"></script>
<script src="assets/js/examples/charts/chartjs.js"></script>
<script src="assets/js/examples/charts/peity.js"></script>
<!-- end::charts -->

<!-- begin::daterangepicker -->
<script src="assets/vendors/datepicker/daterangepicker.js"></script>
<!-- end::daterangepicker -->

<!-- begin::dashboard -->
<script src="assets/js/examples/dashboard.js"></script>
<!-- end::dashboard -->

<!-- begin::vamp -->
<script src="assets/vendors/vmap/jquery.vmap.min.js"></script>
<script src="assets/vendors/vmap/maps/jquery.vmap.usa.js"></script>
<script src="assets/js/examples/vmap.js"></script>
<!-- end::vamp -->

<!-- begin::custom scripts -->
<script src="assets/js/custom.js"></script>
<script src="assets/js/app.js"></script>
<!-- end::custom scripts -->


</body>

</html>